//
//  FFNetworking.h
//  KeChuangManage
//
//  Created by shang on 2016/11/26.
//  Copyright © 2016年 shang. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^NetworkingSuccessedBlock)(NSDictionary *successedDict);
typedef void(^NetworkingFailureBlock)(NSError *error);

@interface FFNetworking : NSObject
+ (FFNetworking *)shareInstance;
- (void)httpRequestGet:(NSString *)requestUrl parmsDict:(NSDictionary *)parmsDict successed:(NetworkingSuccessedBlock)successedDict failure:(NetworkingFailureBlock)failureDict;

+ (void)httpUplodWithRequestUrl:(NSString *)requestUrl parmsDict:(NSDictionary *)parmsDict fileData:(NSData *)fileData mimeType:(NSString *)mimeType fileName:(NSString *)fileName successed:(NetworkingSuccessedBlock)successedDict failure:(NetworkingFailureBlock)failureDict;

@end
